package cn.iocoder.yudao.module.promotion.controller.admin.promotion.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 促销 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PromotionRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "2681")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "商品id", requiredMode = Schema.RequiredMode.REQUIRED, example = "11745")
    @ExcelProperty("商品id")
    private Long productId;

    @Schema(description = "促销标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("促销标题")
    private String promoTitle;

    @Schema(description = "促销详情", example = "你说的对")
    @ExcelProperty("促销详情")
    private String promoDescription;

    @Schema(description = "1=可用, 0=不可用", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("1=可用, 0=不可用")
    private Integer isActive;

}